<?php

	namespace nz\co\gravitate\FTAPHPList;

	require_once("fta.201003310000/fta.php");	
	fta_registerModules(
		array(
			"FTAORM/FTAORM"
		)
	);

	use \FTAORM;
		
	class _FTAPHPListUser extends \FTAORM {

		
		//need to push in the default stuff for writing the the cms content table here..
		function __construct(Zend_Db_Adapter_Abstract $zdb){
			parent::__construct($zdb);
			
			$this->primaryKey = "id";
			$this->tableName = "phplist_user_user";
			
			$this->tableFields = array(
			//	  'id', // int
				  'email', // string
				  'confirmed', //bool
				  'blacklisted',//bool
				  'bouncecount',//int
				  'entered',// date
				  'modified',// date
				  'uniqid',//string
				  'htmlemail',//bool
				  'subscribepage',//int
				  'rssfrequency',//string
				  'password',//string
				  'passwordchanged',//date
				  'disabled',//bool
				  'extradata',//string
				  'foreignkey',//string						
			);
			
			$this->tableFieldTypes = array(
			//	  'id', // int
				  'email', // string
				  'confirmed', //bool
				  'blacklisted',//bool
				  'bouncecount',//int
				  'entered',// date
				  'modified',// date
				  'uniqid',//string
				  'htmlemail',//bool
				  'subscribepage',//int
				  'rssfrequency',//string
				  'password',//string
				  'passwordchanged',//date
				  'disabled',//bool
				  'extradata',//string
				  'foreignkey',//string					
			);
			
			$this->tableRequiredFields= array();	
			
			$this->tableRelationships = array();

			$this->tableRelationshipClasses = array();

		}		
		
		
		
		
		
		
		
		
		
		
	}
	
	
	